home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Triton / Developer / DICE / DMakeFile < prev    next >
Makefile  |  1995-06-28  |  1KB  |  46 lines

  1. # Link Libraries for Triton
  2. # Adapted for the DICE compiler on 25-May-95 by Michael Bauer
  3. # (michael.bauer@zdv.uni-tuebingen.de)
  4.  
  5. TMPDIR  = T:
  6. SRCS    = regs.a stubs.c opentriton.c boopsi.c
  7. OBJS    = regs.o stubs.o opentriton.o boopsi.o tritonfd.o
  8. LLIBS   = tritons.lib tritonsr.lib tritonl.lib tritonlr.lib
  9. CFLAGS  = -3.0 -mi -//
  10. LIBS    = tritons.lib tritonsr.lib tritonl.lib tritonlr.lib copy
  11. FTLOPTS = /fd/triton_lib.fd -h /include/clib/triton_protos.h -o tritonfd.o \
  12.           -auto triton.library -IDINCLUDE:amiga31
  13. all : $(LIBS)
  14.  
  15. tritons.lib : $(SRCS)
  16.         dcc $(CFLAGS) -o %(left) -c %(right) -md
  17.         fdtolib $(FTLOPTS) -md
  18.         join $(OBJS) as tritons.lib
  19.         delete #?.o
  20.  
  21. tritonsr.lib : $(SRCS)
  22.         dcc $(CFLAGS) -o %(left) -c %(right) -md -mRR
  23.         fdtolib $(FTLOPTS) -md -mRR
  24.         join $(OBJS) as tritonsr.lib
  25.         delete #?.o
  26.  
  27. tritonl.lib : $(SRCS)
  28.         dcc $(CFLAGS) -o %(left) -c %(right) -mD
  29.         fdtolib $(FTLOPTS) -mD
  30.         join $(OBJS) as tritonl.lib
  31.         delete #?.o
  32.  
  33. tritonlr.lib : $(SRCS)
  34.         dcc $(CFLAGS) -o %(left) -c %(right) -mD -mRR
  35.         fdtolib $(FTLOPTS) -mD -mRR
  36.         join $(OBJS) as tritonlr.lib
  37.         delete #?.o
  38.  
  39. copy : $(LLIBS)
  40.         copy %(right) dlib:
  41.  
  42. new :
  43.       DMake clean
  44.       DMake all
  45.  
  46.